<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Http\Requests\Api\GenerateSchemeRequest;

class WechatController extends Controller
{
    public function generatescheme(GenerateSchemeRequest $request)
    {
        $scheme = app('App\Services\WechatService')->generatescheme($request->path, $request->que, $request->env_version);
        $data = [
            'scheme' => $scheme
        ];
        return $this->success($data);
    }
}
